package com.gzhryc.net_marketing.api.protocol.order;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;

public class CreateSupplierGoodsOrderResponse extends SecurityResponse<CreateSupplierGoodsOrderResponse.Body> {

    private static final long serialVersionUID = 1L;

    public CreateSupplierGoodsOrderResponse() {
        this.body = new Body();
    }

    public CreateSupplierGoodsOrderResponse(Integer code) {
        super(code);
        this.body = new Body();
    }

    public CreateSupplierGoodsOrderResponse(Integer code, String msg) {
        super(code,msg);
        this.body = new Body();
    }

    public static class Body implements Serializable {

        private static final long serialVersionUID = 1L;

        private String tradeNo;
        private String projectTradeNo;

        private Integer goodsMoney;         //商品金额
        private Integer logisticsMoney;     //物流费用
        private Integer money;              //订单总金额
        private Integer payMoney;           //订单支付金额

        private String logisticsCompanyId;      //物流公司ID
        private String logisticsCompany;        //物流公司名称
        private Integer state;

        public String getTradeNo() {
            return tradeNo;
        }

        public void setTradeNo(String tradeNo) {
            this.tradeNo = tradeNo;
        }

        public String getProjectTradeNo() {
            return projectTradeNo;
        }

        public void setProjectTradeNo(String projectTradeNo) {
            this.projectTradeNo = projectTradeNo;
        }

        public Integer getGoodsMoney() {
            return goodsMoney;
        }

        public void setGoodsMoney(Integer goodsMoney) {
            this.goodsMoney = goodsMoney;
        }

        public Integer getMoney() {
            return money;
        }

        public void setMoney(Integer money) {
            this.money = money;
        }

        public Integer getPayMoney() {
            return payMoney;
        }

        public void setPayMoney(Integer payMoney) {
            this.payMoney = payMoney;
        }

        public Integer getLogisticsMoney() {
            return logisticsMoney;
        }

        public void setLogisticsMoney(Integer logisticsMoney) {
            this.logisticsMoney = logisticsMoney;
        }

        public String getLogisticsCompanyId() {
            return logisticsCompanyId;
        }

        public void setLogisticsCompanyId(String logisticsCompanyId) {
            this.logisticsCompanyId = logisticsCompanyId;
        }

        public String getLogisticsCompany() {
            return logisticsCompany;
        }

        public void setLogisticsCompany(String logisticsCompany) {
            this.logisticsCompany = logisticsCompany;
        }

        public Integer getState() {
            return state;
        }

        public void setState(Integer state) {
            this.state = state;
        }

    }
}
